﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Xinchen.SOA.GateWay
{
    public class ServiceBuilder
    {
        internal static T BuildService<T>(string serverUrl, string serviceName)
        {
            return (T)new ServiceCallProxy<T>(serverUrl, serviceName).GetTransparentProxy();
        }
    }
}
